package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.UserSinger;

@Repository
public interface UserSingerDAO {
	public Set<UserSinger> findAllUserSingers();

	public Set<UserSinger> findUserSingersByUserId(Integer userId);

	public Set<UserSinger> findUserSingersBySingerId(Integer singerId);

	public Integer addUserSinger(UserSinger userSinger);

	public Integer updateUserSingerByUserId(UserSinger userSinger);

	public Integer updateUserSingerBySingerId(UserSinger userSinger);

	public Integer deleteUserSinger(UserSinger userSinger);

	public Integer deleteUserSingerByUserId(Integer id);

	public Integer deleteUserSingerBySingerId(Integer id);
}
